package com.ciaojian.core.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ciaojian.core.mapper.ShareRecordMapper;
import com.ciaojian.core.model.ShareRecord;

/**
 * <p>
 * 分享记录表 服务类
 * </p>
 *
 * @author Atlakyn
 * @since 2021-03-31
 */
public abstract class ShareRecordService<M extends BaseMapper<T>,T> extends ServiceImpl<ShareRecordMapper,ShareRecord> {

    public Integer countByInvitedMarketing(Integer inviterId,Integer mId){
     return baseMapper.countByInvitedMarketing(inviterId,mId);
    }
}
